/**
 * 角色相关类型定义

 */

// 角色权限
export interface RolePermission {
  id: number
  name: string
  code: string
  type: 'menu' | 'button' | 'api'
  parentId?: number
  path?: string
  icon?: string
  sort?: number
}

export interface RoleItem {
  id: string
  username: string
  status?: string
  phone?: string
  email?: string
  isActive:boolean
  role?: string
}
// 创建角色参数类型

export interface CreateRoleParams {
  username: string
  status: string
  email?: string
  phone?: string
  role?: string
}
